﻿@model MiniBottles.Models.Gallery

@{
    ViewBag.Title = "Dodawanie galerii";
}
@section leftmenu
 {
    @Html.Action("Menu", "Administration")
}


<div class="da-panel da-form">
    <div class="da-panel-header">
        <span class="da-panel-title">
            <i class="icon-list"></i>@ViewBag.Title
        </span>
    </div>
    <div class="da-panel-content da-form-container">

        @using (Html.BeginForm("Create", "Gallery", FormMethod.Post, new { enctype = "multipart/form-data" }))
        {
            @Html.ValidationSummary(true)

            <div class="fieldset">
                @Html.Partial("_Edit", Model)
            </div>
            <div class="da-button-row">
                <input class="btn btn-inverse" type="submit" value="Zapisz" />
                @Html.ActionLink("Powrót do listy", "Index", null, new { @class = "btn btn-inverse" })

            </div>
       
    
        }


    </div>

</div>



@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
